package com.umeox.quranplayer.db.dao

import androidx.room.*
import com.umeox.quranplayer.db.model.ChallengeRecord
import com.umeox.quranplayer.db.model.QuranAudio
import com.yc.music.model.AudioBean

/**
 * Created by Rambo 2021/11/19
 * Describe:
 */
@Dao
interface QuranAudioDao {

    // 查询
    @Query("SELECT * FROM quran_audio")
    fun queryAllQuranAudio(): MutableList<QuranAudio>?

    // 添加批量数据
    @Insert(onConflict = OnConflictStrategy.REPLACE)
    fun addBatchQuranAudio(list: MutableList<QuranAudio>)

}